import {
  Row,
  Col,
  Drawer,
  Progress,
  Message,
  MessageBox,
  Notification,
  Select,
  Option,
  Input,
} from "element-ui";

const element = {
  install: function(Vue) {
    Vue.use(Row);
    Vue.use(Col);
    Vue.use(Progress);
    Vue.use(Drawer);
    Vue.use(Select);
    Vue.use(Option);
    Vue.use(Input);

    Vue.prototype.$message = Message;
    Vue.prototype.$confirm = MessageBox.confirm;
    Vue.prototype.$alert = MessageBox.alert;
    Vue.prototype.$notify = Notification;
  },
};

export default element;
